package com.example.mongodb1.service;

import com.example.mongodb1.entity.Form;

import java.util.List;
import java.util.Map;

public interface FormService {
    Form saveForm(Form form);
    Form getForm(String id);

    List<Form> getForms();

    Map<String, Object> saveFormData(String id,Map<String, Object> data);
}
